﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using stefab.Musique;

namespace stefab
{
    public class Venue
    {
        /// <summary>
        /// Id du lieu
        /// </summary>
        private string _id;


        /// <summary>
        /// Nom du lieu
        /// </summary>
        private string _name;


        /// <summary>
        /// Lien image
        /// </summary>
        private string _linkImage;


        /// <summary>
        /// Lien site
        /// </summary>
        private string _linkSite;




        /// <summary>
        /// Numero de téléphone
        /// </summary>
        private string _telNumber;

        private Location _uneLocation;


        #region Proprietés
        public string id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string linkImage
        {
            get { return _linkImage; }
            set { _linkImage = value; }
        }

        public string telNumber
        {
            get { return _telNumber; }
            set { _telNumber = value; }
        }


        #endregion

        #region Constructeurs
        public Venue(string id, string name)
        {
            this.id = id;
            this.name = name;
        }

        public Venue(string id, string name, string linkImage, string linkSite, string telNumber, Location uneLocation)
        {
            this.id = id;
            this.name = name;
            this.linkImage = linkImage;
            this.linkSite = linkSite;
            this.telNumber = telNumber;
            this.UneLocation = uneLocation;
        }

        public string linkSite
        {
            get { return _linkSite; }
            set { _linkSite = value; }
        }
        #endregion

        public Location UneLocation
        {
            get
            {
                return _uneLocation;
            }
            set
            {
                _uneLocation = value;
            }
        }

        public Location getLocation()
        {
            return _uneLocation;
        }

    }


}
